package com.hunt.dao;

import com.hunt.model.dto.HisStatisUsersOnline;
import com.hunt.model.dto.UserInfo;
import com.hunt.model.entity.ThisTimeOnlineStatistics;

import java.util.List;

/**
 * @author ww
 * @className
 * @description
 * @date 2020/6/22
 */
public interface OnlineStatisticsTaskMapper {
    
    List<UserInfo> getAllOnlineUser();

    void saveOnlineUser(UserInfo userInfo);

    List<ThisTimeOnlineStatistics> getTodayOnlineCount();

    void setTmpTodayCount(HisStatisUsersOnline hisStatisUsersOnline);
    
    void setRentTodayCount(HisStatisUsersOnline hisStatisUsersOnline);
    
    void setFormalTodayCount(HisStatisUsersOnline hisStatisUsersOnline);
    
    void clearOnlineStatisticsTable();
    
    void deleteOldOnlineStatisticsData();

    List<String> getUserFromTemporaryTable();

    void setNormalTodayCount(HisStatisUsersOnline hisStatisUsersOnline);

    void setVIPTodayCount(HisStatisUsersOnline hisStatisUsersOnline);
}
